gtk4.git
4 years agodocs: Fix a typo in the migration guide
Matthias Clasen [Fri, 11 Jun 2021 11:52:30 +0000 (07:52 -0400)]
docs: Fix a typo in the migration guide

4 years agoMerge branch 'wip/chergert/fix-delayed-focus' into 'master'
Matthias Clasen [Thu, 10 Jun 2021 21:31:47 +0000 (21:31 +0000)]
Merge branch 'wip/chergert/fix-delayed-focus' into 'master'

window: clear move_focus when focus is already set

See merge request GNOME/gtk!3658

4 years agowindow: clear move_focus when focus is already set
Christian Hergert [Thu, 10 Jun 2021 21:01:41 +0000 (14:01 -0700)]
window: clear move_focus when focus is already set

This can get set in other places, so we need to ensure it is cleared so
that an after-paint handler does not move the focus to a new widget.

4 years agoMerge branch 'actionable-fixes' into 'master'
Matthias Clasen [Thu, 10 Jun 2021 13:30:25 +0000 (13:30 +0000)]
Merge branch 'actionable-fixes' into 'master'

tests: Fix check vs toggle button confusion

Closes #4022

See merge request GNOME/gtk!3656

4 years agocheckbutton: Fix actionable state tracking
Matthias Clasen [Thu, 10 Jun 2021 12:37:13 +0000 (08:37 -0400)]
checkbutton: Fix actionable state tracking

If we have a GAction as model, we just have to
call gtk_action_helper_activate() and let
the action helper handle the state updates,

Fixes: #4022
4 years agotogglebutton: Fix actionable state tracking
Matthias Clasen [Thu, 10 Jun 2021 12:36:08 +0000 (08:36 -0400)]
togglebutton: Fix actionable state tracking

If we have a GAction as model, we just have to let
the action helper handle the state updates. GtkButton
already calls gtk_action_helper_activate() for us.

4 years agobutton: Add a private getter for the action helper
Matthias Clasen [Thu, 10 Jun 2021 12:35:24 +0000 (08:35 -0400)]
button: Add a private getter for the action helper

GtkToggleButton needs to know if it needs to actively
maintain its state, or defer to the action helper.

4 years agotestgaction: Add more widgetry
Matthias Clasen [Thu, 10 Jun 2021 12:10:25 +0000 (08:10 -0400)]
testgaction: Add more widgetry

Add some toggle and check buttons to test that they
work as expected as GtkActionables.

4 years agoFix the GAction test
Matthias Clasen [Thu, 10 Jun 2021 11:55:45 +0000 (07:55 -0400)]
Fix the GAction test

We weren't setting the state of the stateful actions.

4 years agotests: Fix check vs toggle button confusion
Matthias Clasen [Thu, 10 Jun 2021 11:49:08 +0000 (07:49 -0400)]
tests: Fix check vs toggle button confusion

Check buttons aren't toggle buttons anymore.

4 years ago4.3.1
Matthias Clasen [Wed, 9 Jun 2021 22:23:47 +0000 (18:23 -0400)]
4.3.1

4 years agoMerge branch 'ebassi/docs-for-master' into 'master'
Matthias Clasen [Wed, 9 Jun 2021 17:30:02 +0000 (17:30 +0000)]
Merge branch 'ebassi/docs-for-master' into 'master'

docs: Mention Window::close-request in the migration guide

See merge request GNOME/gtk!3655

4 years agodocs: Mention the ::damage-event signal in the migration guide
Emmanuele Bassi [Wed, 9 Jun 2021 17:11:10 +0000 (18:11 +0100)]
docs: Mention the ::damage-event signal in the migration guide

There is no replacement for damage event tracking.

4 years agodocs: Mention GdkSurface:mapped
Emmanuele Bassi [Wed, 9 Jun 2021 17:08:31 +0000 (18:08 +0100)]
docs: Mention GdkSurface:mapped

It replaces the ::map-event and ::unmap-event signals on GtkWidget.

4 years agodocs: Mention Window::close-request in the migration guide
Emmanuele Bassi [Wed, 9 Jun 2021 17:03:12 +0000 (18:03 +0100)]
docs: Mention Window::close-request in the migration guide

The Widget::delete-event signal was moved to Window::close-request.

4 years agoMerge branch 'ci-install-build' into 'master'
Matthias Clasen [Wed, 9 Jun 2021 12:59:46 +0000 (12:59 +0000)]
Merge branch 'ci-install-build' into 'master'

Make a standalone hello world

See merge request GNOME/gtk!3652

4 years agoci: Update the image
Matthias Clasen [Wed, 9 Jun 2021 11:10:13 +0000 (07:10 -0400)]
ci: Update the image

v32 of the image includes wayland-protocols 1.21, and
other updates from Fedora 34.

While we are at it, drop gtk-doc from the image, and drop
the separate DOCS_IMAGE - no longer used.

4 years agoci: Collect hello build logs
Matthias Clasen [Wed, 9 Jun 2021 11:35:25 +0000 (07:35 -0400)]
ci: Collect hello build logs

4 years agoci: Test building against installed GTK
Matthias Clasen [Tue, 8 Jun 2021 21:39:34 +0000 (17:39 -0400)]
ci: Test building against installed GTK

This is meant to ensure that we e.g. install the
right header files, and so on.

4 years agoMake a standalone hello world
Matthias Clasen [Tue, 8 Jun 2021 21:26:36 +0000 (17:26 -0400)]
Make a standalone hello world

We want to test building against the installed GTK
in ci, so lets add a standalone project.

4 years agoMerge branch 'row-activated-annotation' into 'master'
Matthias Clasen [Tue, 8 Jun 2021 17:17:45 +0000 (17:17 +0000)]
Merge branch 'row-activated-annotation' into 'master'

treeview: Add a few missing annotations

Closes #3828

See merge request GNOME/gtk!3647

4 years agoMerge branch 'wip/carlosg/spin-button-swipe-gesture' into 'master'
Matthias Clasen [Tue, 8 Jun 2021 14:54:26 +0000 (14:54 +0000)]
Merge branch 'wip/carlosg/spin-button-swipe-gesture' into 'master'

spinbutton: Connect swipe gesture to the text entry

Closes #4008

See merge request GNOME/gtk!3649

4 years agospinbutton: Mind the step in the swipe gesture
Carlos Garnacho [Tue, 8 Jun 2021 13:09:37 +0000 (15:09 +0200)]
spinbutton: Mind the step in the swipe gesture

The swipe gesture forces values in the spin button that are
"impossible" according to the adjustment. This can break things
in creative ways.

Ensure the steps provided are always multiples of the adjustment
step value, and keep the remainder for further interaction.

4 years agospinbutton: Connect swipe gesture to the text entry
Carlos Garnacho [Tue, 8 Jun 2021 13:06:29 +0000 (15:06 +0200)]
spinbutton: Connect swipe gesture to the text entry

In the GTK3 days, the spin button was an entry, with buttons on
top, and the swipe gesture affected the input on the entry bits.
Now the spin button is a container, so this gesture in the capture
phase applies to all contained children (incl. buttons).

Attach this gesture to the entry itself, so the buttons are left
outside this business. The gesture is still in the capture phase
in order to prevent text selection/edition/etc to happen.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4008
4 years agoApply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Tue, 8 Jun 2021 12:59:57 +0000 (12:59 +0000)]
Apply 1 suggestion(s) to 1 file(s)

4 years agoApply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Tue, 8 Jun 2021 12:59:38 +0000 (12:59 +0000)]
Apply 1 suggestion(s) to 1 file(s)

4 years agoMerge branch 'password-entry-buffer' into 'master'
Matthias Clasen [Tue, 8 Jun 2021 12:09:01 +0000 (12:09 +0000)]
Merge branch 'password-entry-buffer' into 'master'

Install gtkpasswordentrybuffer.h

See merge request GNOME/gtk!3646

4 years agotreeview: Documentation tweaks
Matthias Clasen [Tue, 8 Jun 2021 11:57:55 +0000 (07:57 -0400)]
treeview: Documentation tweaks

4 years agoInstall gtkpasswordentrybuffer.h
Matthias Clasen [Tue, 8 Jun 2021 11:49:06 +0000 (07:49 -0400)]
Install gtkpasswordentrybuffer.h

4 years agoMerge branch 'password-entry-buffer' into 'master'
Matthias Clasen [Tue, 8 Jun 2021 11:25:12 +0000 (11:25 +0000)]
Merge branch 'password-entry-buffer' into 'master'

Make GtkPasswordEntryBuffer public

See merge request GNOME/gtk!3645

4 years agoMake GtkPasswordEntryBuffer public
Matthias Clasen [Tue, 8 Jun 2021 11:25:11 +0000 (11:25 +0000)]
Make GtkPasswordEntryBuffer public

4 years agoMerge branch 'ebassi/issue-3892' into 'master'
Matthias Clasen [Mon, 7 Jun 2021 18:10:12 +0000 (18:10 +0000)]
Merge branch 'ebassi/issue-3892' into 'master'

a11y: Update the level property for tree expanders

Closes #3892

See merge request GNOME/gtk!3470

4 years agoMerge branch 'glib-main' into 'master'
Emmanuele Bassi [Mon, 7 Jun 2021 14:53:04 +0000 (14:53 +0000)]
Merge branch 'glib-main' into 'master'

subprojects: Use GLib main branch

See merge request GNOME/gtk!3642

4 years agosubprojects: Use GLib main branch
Philip Withnall [Mon, 7 Jun 2021 13:56:49 +0000 (14:56 +0100)]
subprojects: Use GLib main branch

GLib upstream has renamed its `master` branch to `main`.

See https://gitlab.gnome.org/GNOME/glib/-/issues/2348.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
4 years agotreeview: Add a few missing annotations
Matthias Clasen [Sun, 6 Jun 2021 12:24:52 +0000 (08:24 -0400)]
treeview: Add a few missing annotations

gtk_tree_view_row_activated and the ::row-activated signal
can (and do) receive NULL for the column occasionally.

This is an introspection api change.

Fixes: #3828
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 22:13:21 +0000 (22:13 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Docs: Tweaks

Closes #3638

See merge request GNOME/gtk!3639

4 years agogtk-builder-tool: Replace can-focus with focusable
Matthias Clasen [Sat, 5 Jun 2021 21:56:35 +0000 (17:56 -0400)]
gtk-builder-tool: Replace can-focus with focusable

The focusable property has the meaning that can-focus had
in GTK 3.

Update tests, and mention this in the migration guide.

Fixes: #3638
4 years agoDocs: Tweaks
Matthias Clasen [Sat, 5 Jun 2021 21:36:02 +0000 (17:36 -0400)]
Docs: Tweaks

Remove some more redundant "or NULL" blurbs.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 21:36:06 +0000 (21:36 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

popovermenu: doc tweaks

See merge request GNOME/gtk!3638

4 years agopopovermenu: doc tweaks
Matthias Clasen [Sat, 5 Jun 2021 21:19:39 +0000 (17:19 -0400)]
popovermenu: doc tweaks

4 years agoMerge branch 'submenu-action-fixes' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 13:36:10 +0000 (13:36 +0000)]
Merge branch 'submenu-action-fixes' into 'master'

Submenu action fixes

Closes #3721

See merge request GNOME/gtk!3272

4 years agoMerge branch 'msvc-aarch64' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 13:05:15 +0000 (13:05 +0000)]
Merge branch 'msvc-aarch64' into 'master'

gtkpopcountprivate.h: Fix build on ARM/aarch64 Visual Studio

See merge request GNOME/gtk!3637

4 years agomenusectionbox: Fix submenu-action for nested menus
Matthias Clasen [Mon, 8 Mar 2021 05:43:43 +0000 (00:43 -0500)]
menusectionbox: Fix submenu-action for nested menus

We were not updating the state of submenu-actions
for nested submenus.

Fixes: #3721
4 years agopopovermenubar: Make submenu-actions work
Matthias Clasen [Mon, 8 Mar 2021 05:46:30 +0000 (00:46 -0500)]
popovermenubar: Make submenu-actions work

We were not updating submenu-action state
for items in menubars.

4 years agomenutrackeritem: Make submenu-actions work again
Matthias Clasen [Mon, 8 Mar 2021 05:45:35 +0000 (00:45 -0500)]
menutrackeritem: Make submenu-actions work again

This broke when GtkActionMuxer stopped being a
GActionGroup.

4 years agobloatpad: Bring back the menubar
Matthias Clasen [Mon, 8 Mar 2021 05:43:03 +0000 (00:43 -0500)]
bloatpad: Bring back the menubar

This was lost at some point.

4 years agoMerge branch 'powimod_icon' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 12:47:08 +0000 (12:47 +0000)]
Merge branch 'powimod_icon' into 'master'

Load icon from executable on Windows

Closes #3713

See merge request GNOME/gtk!3326

4 years agogtkpopcountprivate.h: Fix build on ARM/aarch64 Visual Studio
Chun-wei Fan [Sat, 5 Jun 2021 07:37:52 +0000 (15:37 +0800)]
gtkpopcountprivate.h: Fix build on ARM/aarch64 Visual Studio

__popcnt() is not supported for ARM nor ARM64 Visual Studio builds, so we must
use the fallback implementation as intrinsics are not supported for this
purpose on ARM/ARM64 Visual Studio builds.

4 years agoMerge branch 'ci-file-filters' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 01:47:24 +0000 (01:47 +0000)]
Merge branch 'ci-file-filters' into 'master'

GtkFileFilter: Allow case-insensitive patterns

Closes #3705

See merge request GNOME/gtk!359

4 years agoMerge branch 'imcontext-ignore-more-keysyms' into 'master'
Matthias Clasen [Sat, 5 Jun 2021 01:19:39 +0000 (01:19 +0000)]
Merge branch 'imcontext-ignore-more-keysyms' into 'master'

imcontext: Ignore more keysyms

See merge request GNOME/gtk!3634

4 years agoAdd GtkFileFilter tests
Matthias Clasen [Fri, 4 Jun 2021 22:34:01 +0000 (18:34 -0400)]
Add GtkFileFilter tests

4 years agoGtkFileFilter: Add suffix matches
Matthias Clasen [Fri, 4 Jun 2021 03:55:48 +0000 (23:55 -0400)]
GtkFileFilter: Add suffix matches

This is less flexible than a glob pattern, but it is
explicitly case-insensitive, to match the behavior
on Windows.

Fixes: #3705
4 years agoAdd a helper to make case-insensitive globs
Matthias Clasen [Fri, 4 Jun 2021 03:50:09 +0000 (23:50 -0400)]
Add a helper to make case-insensitive globs

This will be used in GtkFileFilter in the future.

Tests included.

4 years agoimcontext: Ignore more keysyms
Matthias Clasen [Fri, 4 Jun 2021 23:01:57 +0000 (19:01 -0400)]
imcontext: Ignore more keysyms

It finally dawned on my that #3673 is just another
case of unexpected keysyms getting sent our way via
fringe XKB features.

Ignore them all!

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 20:24:23 +0000 (20:24 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

docs: Mention <packing> in migration guide

Closes #3950 and #2271

See merge request GNOME/gtk!3630

4 years agoMerge branch 'master' into 'matthiasc/for-master'
Matthias Clasen [Fri, 4 Jun 2021 20:24:09 +0000 (20:24 +0000)]
Merge branch 'master' into 'matthiasc/for-master'

# Conflicts:
#   docs/reference/gtk/migrating-3to4.md

4 years agoicontheme: Add detail to the 'not found' message
Matthias Clasen [Fri, 4 Jun 2021 13:47:26 +0000 (09:47 -0400)]
icontheme: Add detail to the 'not found' message

Name the icon theme we're using.

Fixes: #2271
4 years agoClean up some comments
Matthias Clasen [Fri, 4 Jun 2021 12:58:12 +0000 (08:58 -0400)]
Clean up some comments

These XXX comments aren't useful enough to keep.

4 years agoAdd a doc comment for gsk_rounded_rect_is_circular
Matthias Clasen [Fri, 4 Jun 2021 12:44:37 +0000 (08:44 -0400)]
Add a doc comment for gsk_rounded_rect_is_circular

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 13:21:37 +0000 (13:21 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

docs: Mention <packing> in migration guide

Closes #3950

See merge request GNOME/gtk!3629

4 years agowayland: Add a comment
Matthias Clasen [Fri, 4 Jun 2021 12:29:23 +0000 (08:29 -0400)]
wayland: Add a comment

I just had to debug this to rediscover how it works, so
add a comment for next time.

4 years agowayland: Add a comment
Matthias Clasen [Fri, 4 Jun 2021 12:29:23 +0000 (08:29 -0400)]
wayland: Add a comment

I just had to debug this to rediscover how it works, so
add a comment for next time.

4 years agodocs: Escape some xml tags
Matthias Clasen [Fri, 4 Jun 2021 12:06:18 +0000 (08:06 -0400)]
docs: Escape some xml tags

When mentioning xml tags in markdown, we must write
them as `<foo>`, or they will come out mangled.

4 years agodocs: Mention <packing> in migration guide
Matthias Clasen [Fri, 4 Jun 2021 11:41:25 +0000 (07:41 -0400)]
docs: Mention <packing> in migration guide

Add another hint for what to do with child properties.

Fixes: #3950
4 years agodocs: Mention <packing> in migration guide
Matthias Clasen [Fri, 4 Jun 2021 11:41:25 +0000 (07:41 -0400)]
docs: Mention <packing> in migration guide

Add another hint for what to do with child properties.

Fixes: #3950
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 04:43:20 +0000 (04:43 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

fnmatch: Support case-folding

See merge request GNOME/gtk!3628

4 years agoMerge branch 'gtk_combo_box_with_entry_docs_update' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 04:02:48 +0000 (04:02 +0000)]
Merge branch 'gtk_combo_box_with_entry_docs_update' into 'master'

Documentation update for combo_box_new_with_entry

See merge request GNOME/gtk!3605

4 years agoDocumentation update for combo_box_new_with_entry
DarkTrick [Fri, 4 Jun 2021 04:02:48 +0000 (04:02 +0000)]
Documentation update for combo_box_new_with_entry

4 years agoMove fnmatch testcases to the testsuite
Matthias Clasen [Fri, 4 Jun 2021 03:33:33 +0000 (23:33 -0400)]
Move fnmatch testcases to the testsuite

We have a well-working way to test internal
apis now, lets use it for these tests.

4 years agofnmatch: Support case-folding
Matthias Clasen [Fri, 4 Jun 2021 03:55:30 +0000 (23:55 -0400)]
fnmatch: Support case-folding

This will be used in GtkFileFilter in the future.

Update all callers.

4 years agoMerge branch 'bilelmoussaoui/markdown-links' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 02:45:25 +0000 (02:45 +0000)]
Merge branch 'bilelmoussaoui/markdown-links' into 'master'

docs: use markdown syntax for hyperlinks

See merge request GNOME/gtk!3589

4 years agoMerge branch 'GtkCellLayoutWordingImprovement' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 02:21:33 +0000 (02:21 +0000)]
Merge branch 'GtkCellLayoutWordingImprovement' into 'master'

Added information, that "attributes" refer to CellRenderer "properties".

See merge request GNOME/gtk!3602

4 years agoAdded information, that "attributes" refer to CellRenderer "properties".
DarkTrick [Fri, 4 Jun 2021 02:21:31 +0000 (02:21 +0000)]
Added information, that "attributes" refer to CellRenderer "properties".

4 years agoMerge branch 'fix-appwindow-allocate' into 'master'
Matthias Clasen [Fri, 4 Jun 2021 02:01:53 +0000 (02:01 +0000)]
Merge branch 'fix-appwindow-allocate' into 'master'

applicationwindow: Allocate tooltips

Closes #3997

See merge request GNOME/gtk!3627

4 years agoApply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Fri, 4 Jun 2021 01:53:12 +0000 (01:53 +0000)]
Apply 1 suggestion(s) to 1 file(s)

4 years agoapplicationwindow: Allocate tooltips
Matthias Clasen [Fri, 4 Jun 2021 01:43:13 +0000 (21:43 -0400)]
applicationwindow: Allocate tooltips

GtkApplicationWindows size_allocate does not chain
up if the menubar is visible; don't forget to allocate
the tooltip window in that case.

Fixes: #3997
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 3 Jun 2021 21:59:26 +0000 (21:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Cosmetics: Eradicate gdouble

See merge request GNOME/gtk!3626

4 years agoCosmetics: Eradicate gint
Matthias Clasen [Thu, 3 Jun 2021 21:40:49 +0000 (17:40 -0400)]
Cosmetics: Eradicate gint

Remove a handful of errant uses of gint.

4 years agoCosmetics: Eradicate gdouble
Matthias Clasen [Thu, 3 Jun 2021 18:38:17 +0000 (14:38 -0400)]
Cosmetics: Eradicate gdouble

Remove 3 errant uses of gdouble.

4 years agoMerge branch 'primary-menu-button' into 'master'
Matthias Clasen [Thu, 3 Jun 2021 19:37:23 +0000 (19:37 +0000)]
Merge branch 'primary-menu-button' into 'master'

menubutton: Enable F10 for primary menus

See merge request GNOME/gtk!3580

4 years agoMerge branch 'wip/carlosg/no-early-popup-ungrabs' into 'master'
Matthias Clasen [Thu, 3 Jun 2021 18:10:06 +0000 (18:10 +0000)]
Merge branch 'wip/carlosg/no-early-popup-ungrabs' into 'master'

gdk/wayland: Break only implicit grabs on wl_pointer.leave w/ pressed buttons

See merge request GNOME/gtk!3625

4 years agoMerge branch 'akamfoad/readme-link-fixes' into 'master'
Emmanuele Bassi [Thu, 3 Jun 2021 15:23:45 +0000 (15:23 +0000)]
Merge branch 'akamfoad/readme-link-fixes' into 'master'

Update broken links in README.md

Closes #4001

See merge request GNOME/gtk!3623

4 years agogdk/wayland: Break only implicit grabs on wl_pointer.leave w/ pressed buttons
Carlos Garnacho [Thu, 3 Jun 2021 14:18:28 +0000 (16:18 +0200)]
gdk/wayland: Break only implicit grabs on wl_pointer.leave w/ pressed buttons

The releasing of grabs while a button is pressed (e.g. after starting dnd, or
dragging the window, or going to overview with a pressed button, etc...) was
generalized here in https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1879.

However we shouldn't break all grabs here. In the case of grabbing popups,
compositors will still emit crossing events between client surfaces (e.g.
popping up and selecting a menu item via press-drag-release), breaking all
grabs here means inconsistent client state, that was
https://gitlab.gnome.org/GNOME/gtk/-/issues/2746.

That was fixed in mutter, by essentially making implicit grabs
owner_events=FALSE, however that breaks the mentioned use pattern entirely.
Mutter is changing this behavior back, so GTK should handle these crossing
events.

The grab that we are interested in breaking here is the implicit pointer
one. Popups will be dismissed via other means if the compositor says their
active grab needs breaking. This still leaves dnd/move/resize drags in
one place, while not allowing #2746 to happen with popups.

4 years agoChanging old Gtk4 link to the new one hosted in gtk docs
Akam Foad [Thu, 3 Jun 2021 14:22:06 +0000 (14:22 +0000)]
Changing old Gtk4 link to the new one hosted in gtk docs

4 years agoUpdate broken links in README.md
Akam Foad [Thu, 3 Jun 2021 14:02:59 +0000 (14:02 +0000)]
Update broken links in README.md

Updated Release notes links from https://developer.gnome.org/gtkX/unstable/YYYY.html
to https://developer.gnome.org/gtkX/stable/YYYY.html in the README.md file in the root
folder.

Closes #4001

4 years agoMerge branch 'ebassi/doc-fixes' into 'master'
Emmanuele Bassi [Thu, 3 Jun 2021 10:32:01 +0000 (10:32 +0000)]
Merge branch 'ebassi/doc-fixes' into 'master'

Small doc fixes

See merge request GNOME/gtk!3622

4 years agodocs: Fix link to the interactive debugging section
Emmanuele Bassi [Thu, 3 Jun 2021 08:31:13 +0000 (09:31 +0100)]
docs: Fix link to the interactive debugging section

It's in the "running" document.

4 years agodocs: Fix the license field
Emmanuele Bassi [Thu, 3 Jun 2021 08:11:09 +0000 (09:11 +0100)]
docs: Fix the license field

It's LGPL-2.1-or-later, not GPL.

4 years agoMerge branch 'wip/chergert/fix-use-after-free-switcher' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 20:21:57 +0000 (20:21 +0000)]
Merge branch 'wip/chergert/fix-use-after-free-switcher' into 'master'

stackswitcher: clear timer when widget id disposed

See merge request GNOME/gtk!3621

4 years agoMerge branch 'macos-menubar' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 20:13:16 +0000 (20:13 +0000)]
Merge branch 'macos-menubar' into 'master'

macos: fix weird menubar rendering.

Closes #3967

See merge request GNOME/gtk!3607

4 years agostackswitcher: clear timer when widget id disposed
Christian Hergert [Wed, 2 Jun 2021 17:19:42 +0000 (10:19 -0700)]
stackswitcher: clear timer when widget id disposed

If the widget is disposed while the cursor has a drag timeout queued, it
can activate after finalization.

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 14:57:52 +0000 (14:57 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

x11: Be more careful with NVIDIA workaround

See merge request GNOME/gtk!3620

4 years agoMerge branch 'entry-docs-typo' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 11:15:10 +0000 (11:15 +0000)]
Merge branch 'entry-docs-typo' into 'master'

entry: Fix a typo in the docs

See merge request GNOME/gtk!3619

4 years agoentry: Fix a typo in the docs
Matthias Clasen [Wed, 2 Jun 2021 10:47:27 +0000 (06:47 -0400)]
entry: Fix a typo in the docs

4 years agoMerge branch 'wip/exalm/treeview-click' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 10:33:50 +0000 (10:33 +0000)]
Merge branch 'wip/exalm/treeview-click' into 'master'

treeview: Don't handle clicks on any child widgets

Closes #3996

See merge request GNOME/gtk!3618

4 years agoMerge branch 'box-orientation' into 'master'
Matthias Clasen [Wed, 2 Jun 2021 10:16:17 +0000 (10:16 +0000)]
Merge branch 'box-orientation' into 'master'

progressbar: Avoid redundant storage

See merge request GNOME/gtk!3617

4 years agotreeview: Don't handle clicks on any child widgets
Alexander Mikhaylenko [Wed, 2 Jun 2021 08:45:11 +0000 (13:45 +0500)]
treeview: Don't handle clicks on any child widgets

We already skip them on the edited cell widget, but it's also a problem for
header buttons. Overall, there's no real reason to let it propagate here.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3996

4 years agospinbutton: Avoid redundant storage
Matthias Clasen [Tue, 1 Jun 2021 19:35:15 +0000 (15:35 -0400)]
spinbutton: Avoid redundant storage

GtkBoxLayout stores the orientation; no need for
GtkSpinButton to duplicate that.

4 years agoprogressbar: Avoid redundant storage
Matthias Clasen [Tue, 1 Jun 2021 12:17:10 +0000 (08:17 -0400)]
progressbar: Avoid redundant storage

GtkBoxLayout stores the orientation; no need for
GtkProgressBar to duplicate that.

4 years agoMerge branch 'demo-appdata' into 'master'
Matthias Clasen [Tue, 1 Jun 2021 20:17:16 +0000 (20:17 +0000)]
Merge branch 'demo-appdata' into 'master'

demos: Generate appdata

Closes #3993

See merge request GNOME/gtk!3613